// Decompiled by DJ v3.10.10.93 Copyright 2007 Atanas Neshkov  Date: 2009-9-25 15:09:06


// Source File Name:   Form3rc.java

package com.vhly.ddxdecompiler.dexreader.file.dalv.code.reader;

import com.vhly.ddxdecompiler.dexreader.file.dalv.code.DalvInsn;
import com.vhly.ddxdecompiler.dexreader.io.DexInputStream;

import java.io.IOException;


public final class Form3rc extends InsnReader {

    public static final InsnReader THE_ONE = new Form3rc();

    private Form3rc() {
    }

    public void prepair(DalvInsn dalvInsn, int reg) {
        dalvInsn.addRegister(reg);
    }

    public int read(DalvInsn insn, DexInputStream din) throws IOException {
        short cpi = din.readShort();
        short firstReg = din.readShort();
        insn.addRegister(cpi);
        insn.addRegister(firstReg);
        return 2;
    }
}